package com.education.seckill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Tang
 * @since 2022-06-20
 */
@Getter
@Setter
@TableName("seckillOrder")
public class SeckillOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 秒杀订单id
     */
      @TableId(value = "s_order_id", type = IdType.ASSIGN_UUID)
    private String sOrderId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 订单id（与普通商品id关联）
     */
    private Long orderId;

    /**
     * 商品id
     */
    private Long goodsId;


    /**
     * 支付状态
     * */
    private  Integer payStatus;
}
